package com.ranjiaqi.caledar;

import java.util.Calendar;

/**
 * @ClassName TestGet
 * @Description TODO
 * @Author hp
 * @Date 2021/6/21 21:21
 * @Version 1.0
 **/
public class TestGet {
    public static void main(String[] args) {
        Calendar cal = Calendar.getInstance();
        System.out.println(cal.get(Calendar.YEAR));
    }
}
